	<?
    	if($data['current_chanle']=='room')
        {
    ?>
        <div class="topnav mpt a_topnav">
            <div class="bd">
                <ul class="userinfo"> <!-- mpt a_header-->
                    <?php if(!empty($userinfo) && $userinfo["uid"]>10000000){?>
                    <li class="nickname"><span><img src="<?php echo $userinfo['avatar']?$userinfo['avatar']:STATIC_HTTP.'img/avatar.gif' ?>" width="20" height="20"></span><a target="_blank" href="http://www.9xiu.com/Usercenter"><?php echo $userinfo['nickname'];?></a></li>
                    <li class="update_name">[<a target="_blank" href="http://www.9xiu.com/?action=Usercenter">修改昵称</a>]
                        <div class="update_usename hide">
                            <b></b>
                            <div class="box">
                                <strong>用户名：</strong>805111216<br>
                                当前昵称：<input type="text" readonly value="小罗—K" /><br>
                                修改昵称：<input type="text" />
                                <em>注：修改后，原昵称有可能被抢注</em>
                                <input type="button" value="确定" class="button" />
                            </div>
                        </div>
                        <div class="guide_tips guide_upName pngFix hide"></div>
                    &nbsp;|</li> 
                    
                    <li class="gold_panel"><span class="jb_icon pngFix"></span> <span class="val"><a target="_blank" id="spusercoins" href="http://pay.9xiu.com/"><?php echo $userinfo['usercoins']?$userinfo['usercoins']:0;?>&nbsp;|</a></span></li>
                    <li class="gold_panel"><span class="jd_icon pngFix"></span> <span class="val"><a target="_blank" id="hrefuserdian" href="http://pay.9xiu.com/"><?php echo $userinfo['userdian']?$userinfo['userdian']:0;?></a></span></li>
                    
                    <li>&nbsp;<a target="_blank" href="http://pay.9xiu.com">[充值]</a>&nbsp;|</li>
                    <li>[<a href="javascript:;" id="logoutBtn">退出</a>]</li>
                    <li class="collect_page live_collect_page"><a href="javascript:;" id="addbookmark" title="收藏网页"><b class="icon_topNav_xing pngFix"></b> 收藏网页</a></li>
                    <li class="collect_page live_collect_page2"><a href="http://www.9xiu.com" id="addbookmark" title="返回首页"><b class="jiantou pngFix"></b> 返回首页</a></li>
                    <?php }else{?>
                    <li class="topnav_button"><a href="javascript:;" id="openReg" class="pngFix">注册</a></li>
                    <li class="topnav_button"><a href="javascript:;" id="openLogin" class="pngFix">登录</a>&nbsp;</li>
                    <li><a href="javascript:void(0);" onClick="javascript:window.open('/qqopenid/qq_login.php','newwindow','height=400,width=400,top=0,left=0,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');" class="QQLogn"><span class="pngFix"></span>QQ登录 </a>&nbsp;|</li>
                    <li><a href="javascript:void(0);" onClick="javascript:window.open('/sinaweibo2/index.php','newwindow','height=400,width=400,top=0,left=0,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');" class="weiboLogin"><span class="pngFix"></span>微博登录 </a></li>
                    <li class="collect_page no_login"><a href="javascript:;" id="addbookmark"><b class="icon_topNav_xing pngFix"></b> 收藏网页</a></li>
                    <?php }?>
                </ul>
            </div>
        </div>
	<?
    	}
        else{
    ?>

        <div class="topnav mpt a_topnav">
            <div class="bd">
                <ul class="userinfo"><!-- mpt a_header-->
                    <?php if(!empty($userinfo) && $userinfo["uid"]>10000000){?>
                    <li class="nickname"><a target="_blank" href="http://www.9xiu.com/Usercenter"><?php echo $userinfo['nickname'];?></a></li>
                    <li class="update_name">[<a target="_blank" href="http://www.9xiu.com/?action=Usercenter">修改昵称</a>]
                        <div class="update_usename hide">
                            <b></b>
                            <div class="box">
                                <strong>用户名：</strong>805111216<br>
                                当前昵称：<input type="text" readonly value="小罗—K" /><br>
                                修改昵称：<input type="text" />
                                <em>注：修改后，原昵称有可能被抢注</em>
                                <input type="button" value="确定" class="button" />
                            </div>
                        </div>
                    &nbsp;|</li>
                    
                    <li class="gold_panel"><span class="jb_icon pngFix"></span> <span class="val"><a target="_blank" id="spusercoins" href="http://www.9xiu.com/?action=PayRecord"><?php echo $userinfo['usercoins']?$userinfo['usercoins']:0;?>&nbsp;|</a></span></li>
                    <li class="gold_panel"><span class="jd_icon pngFix"></span> <span class="val"><a target="_blank" id="hrefuserdian" href="http://www.9xiu.com/?action=PayRecord"><?php echo $userinfo['userdian']?$userinfo['userdian']:0;?></a></span></li>
                    
                    <li>&nbsp;<a target="_blank" href="http://pay.9xiu.com">[充值]</a>&nbsp;|</li>
                    <li>[<a href="javascript:;" id="logoutBtn">退出</a>]</li>
                    <li class="topnav_button2">
                        <a href="http://www.9xiu.com/?action=AnchorApply" target="_blank" id="linkgetcontract" class="button_3 contract"><span class="icon_topNav_contract pngFix"></span>申请签约</a>
                        <a href="javascript:;" id="linkgetlive" class="button_3 want_live"><span class="icon_topNav_want_live pngFix"></span>我要直播</a>
                    </li>
                    <?php }else{?>
                    <li class="topnav_button"><a href="javascript:;" id="openReg" class="pngFix">注册</a></li>
                    <li class="topnav_button"><a href="javascript:;" id="openLogin" class="pngFix">登录</a>&nbsp;</li>
                    <li><a href="javascript:void(0);" onClick="javascript:window.open('/qqopenid/qq_login.php','newwindow','height=400,width=400,top=0,left=0,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');" class="QQLogn"><span></span>QQ登录 </a>&nbsp;|</li>
                    <li><a href="javascript:void(0);" onClick="javascript:window.open('/sinaweibo2/index.php','newwindow','height=400,width=400,top=0,left=0,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');" class="weiboLogin"><span></span>微博登录 </a></li><br />
                    <li class="collect_page"><a href="javascript:;" id="addbookmark"><b class="icon_topNav_xing pngFix"></b> 收藏网页</a></li>
                    <?php }?>
                </ul>
            </div>
        </div>
	<?
    	}
    ?>

